#pragma once

#include <map>
#include "ShaderVertexAttribute.h"


namespace Renderer
{
	class ShaderVertexAttributeCollection
	{
	public:
		ShaderVertexAttributeCollection();
		~ShaderVertexAttributeCollection();
		std::string GetKeyFroItem(ShaderVertexAttribute* item);

		std::map<std::string, ShaderVertexAttribute*> GetCollection() const;

		void Add(ShaderVertexAttribute* item);

		ShaderVertexAttribute* Get(std::string key);

	protected:
	private:
		std::map<std::string, ShaderVertexAttribute*> m_pCollection;
	};
}